import axios from '@/axios.js'



/**
 * @param params username pageNum pageSize
 * @returns {Promise<axios.AxiosResponse<any>>}
 */
export function selectAllTool(params) {
    return axios.get('/v1/front/tool', { params });
}


//根据id查询对应的用户
export function selectByTitle(title){
    return  axios.get(`/v1/front/tool/${title}`)
}